package com.snec.oauth2.model;

import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 认证记录
 * </p>
 *
 * @author ${author}
 * @since 2022-06-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class OauthApprovals implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户名
     */
    @TableField("userId")
    private String userId;

    /**
     * 客户端名
     */
    @TableField("clientId")
    private String clientId;

    /**
     * 授权范围
     */
    private String scope;

    /**
     * 回调状态参数
     */
    private String status;

    /**
     * 过期具体时间
     */
    @TableField("expiresAt")
    private Date expiresAt;

    /**
     * 创建时间
     */
    private Date createTime;


}
